<?php
Yii::import('vendor.MPDF57.mpdf', true);
class CardController extends AppController
{
	/**
	 * @var string the default layout for the views. Defaults to '//layouts/column2', meaning
	 * using two-column layout. See 'protected/views/layouts/column2.php'.
	 */
	
	public function actionIndex()
	{
		/*$mpdf=new mPDF();
		$mpdf->WriteHTML('<p>Hallo World</p>');
		$mpdf->Output();
		exit;*/
 		$this->render('index');
	}
	
	public function actionNewCard()
	{
 		$this->render('new_card');
	}
}
